// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
// import router from './router'
import iview from 'iview'
import vueRouter from 'vue-router'
import vuex from 'vuex'
import 'iview/dist/styles/iview.css'

Vue.use(iview);
Vue.use(vueRouter);

Vue.config.productionTip = false;

/* eslint-disable no-new */

import categoryOne1 from './components/categoryOne1.vue'
import categoryOne2 from './components/categoryOne2.vue'
import categoryOne3 from './components/categoryOne3.vue'
import categoryOne4 from './components/categoryOne4.vue'

var router = new vueRouter({
    routes: [
        // {path: '/', redirect: ""},
        {path: '/categoryOne1', component: categoryOne1},
        {path: '/categoryOne2', component: categoryOne2},
        {path: '/categoryOne3', component: categoryOne3},
        {path: '/categoryOne4', component: categoryOne4}
    ]
});

new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App },
  
})




